<section class="content-header"><label>查询:</label><select ng-options="view.id as view.viewName for view in views" ng-model="vid" ng-change="update()" >
</select> <a ui-sref="app.query({mid:mid})">新建查询</a><a ui-sref="app.query({mid:mid,vid:vid})">编辑</a>
</section>
<section>
<a ui-sref="app.formly({mid:mid})" class="btn btn-primary">新建</a>
</section>
<div class="gridStyle" ng-grid="gridOptions">
   